package com.tianxiabuyi.model.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.tianxiabuyi.model.base.TXBYObject;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
 * 健康标准类
 * 
 * @author AlanYJ
 *
 */
@Entity
@Table(name = "health")
public class Health extends TXBYObject {

	private String name;
	private Integer parent;
	@Column(name = "low_value")@JSONField(name = "low_value")
	private Double lowValue;
	@Column(name = "high_value")@JSONField(name = "high_value")
	private Double highValue;
	@Column(name = "default_unit")@JSONField(name = "default_unit")
	private String defaultUnit;
	@Column(name = "common_units")@JSONField(name = "common_units")
	private String commonUnits;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getParent() {
		return parent;
	}
	public void setParent(Integer parent) {
		this.parent = parent;
	}
	public Double getLowValue() {
		return lowValue;
	}
	public void setLowValue(Double lowValue) {
		this.lowValue = lowValue;
	}
	public Double getHighValue() {
		return highValue;
	}
	public void setHighValue(Double highValue) {
		this.highValue = highValue;
	}
	public String getDefaultUnit() {
		return defaultUnit;
	}
	public void setDefaultUnit(String defaultUnit) {
		this.defaultUnit = defaultUnit;
	}
	public String getCommonUnits() {
		return commonUnits;
	}
	public void setCommonUnits(String commonUnits) {
		this.commonUnits = commonUnits;
	}
	
}
